import { createRouter, createWebHistory } from "vue-router";

const routes = [
    {
        path: "/",
        name: "base",
        component: () => import("../pages/index/index.vue"),
    }, { 
        path: "/index",
        name: "base1",
        component: () => import("../pages/index/index.vue"),
    }, {
        path: "/main",
        name: "base2",
        component: () => import("../views/main/index.vue"),
    },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;